package main
import "fmt"
import "reflect"

type TagType struct{
  field1 bool	"An important answer"
  field2 string "The name of the string"
  field3 int	"How much there are"
}
func main(){
  tt	:= TagType{true, "Barak Obama", 1}
  for i:=0; i<3;i++{
	refTag(tt, i)
  }
}

func refTag(tt TagType, ix int){
  ttType	:= reflect.TypeOf(tt)
  ixField	:= ttType.Field(ix)
  fmt.Printf("%v\n", ixField.Tag)
}
